git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52cd86c
)
added workaround for state->last_string assertion problem
author
Matthias Kramm
<kramm@quiss.org>
Fri, 9 Apr 2010 23:53:51 +0000
(16:53 -0700)
committer
Matthias Kramm
<kramm@quiss.org>
Fri, 9 Apr 2010 23:53:51 +0000
(16:53 -0700)
lib/devices/record.c
patch
|
blob
|
history
diff --git
a/lib/devices/record.c
b/lib/devices/record.c
index
8f7b40a
..
fb1c5a9
100644
(file)
--- a/
lib/devices/record.c
+++ b/
lib/devices/record.c
@@
-592,8
+592,10
@@
static void record_drawchar(struct _gfxdevice*dev, gfxfont_t*font, int glyphnr,
char same_matrix = (l->m00 == matrix->m00) && (l->m01 == matrix->m01) && (l->m10 == matrix->m10) && (l->m11 == matrix->m11);
char same_color = !memcmp(color, &i->state.last_color[OP_DRAWCHAR], sizeof(gfxcolor_t));
+ /* FIXME
if(same_font && same_matrix && same_color)
flags |= FLAG_SAME_AS_LAST;
+ */
writer_writeU8(&i->w, OP_DRAWCHAR|flags);
writer_writeU32(&i->w, glyphnr);